﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Data;
using System.Data;

namespace IUI
{
   public interface IMainPage
   {
      EventHandler Click_AdminButton
      {
         get;
         set;
      }

      EventHandler Click_Playlists
      {
          get;
          set;
      }

      EventHandler Click_Songs
      {
          get;
          set;
      }

      EventHandler Click_AddItem
      {
          get;
          set;
      }

      EventHandler Click_DeleteItem
      {
          get;
          set;
      }

      EventHandler Click_EditItem
      {
          get;
          set;
      }

      EventHandler Click_NewSong
      {
          get;
          set;
      }

      User User
      {
          get;
      }

      void SetUserID(String id);

      void OpenAdminPage();

      String CurrentChoise
      {
          get;
      }
      void Fill_ListOfChoise(DataTable tbl);

      void AddItem(IPlayFactory factory);
      void DelItem();
      void EditItem();
   }
}
